package com.example.script.mapper;

import com.example.script.model.AdminAppointment;
import com.example.script.model.AdminAppointmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminAppointmentMapper {
    long countByExample(AdminAppointmentExample example);

    int deleteByExample(AdminAppointmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdminAppointment record);

    int insertSelective(AdminAppointment record);

    List<AdminAppointment> selectByExample(AdminAppointmentExample example);

    AdminAppointment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdminAppointment record, @Param("example") AdminAppointmentExample example);

    int updateByExample(@Param("record") AdminAppointment record, @Param("example") AdminAppointmentExample example);

    int updateByPrimaryKeySelective(AdminAppointment record);

    int updateByPrimaryKey(AdminAppointment record);
}